package com.nercel.dsj.gksales.model.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 秒杀活动记录表
 */
@Data
public class Spike implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4816946334396785854L;

	@ApiModelProperty(value = "ID")
	private Integer id;

	@ApiModelProperty(value = "省编码")
	private String proviceCode;

	@ApiModelProperty(value = "省名称")
	private String proviceName;

	@ApiModelProperty(value = "活动开始时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startTime;
	
	@ApiModelProperty(value = "活动截止时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endTime;

	@ApiModelProperty(value = "秒杀数量限制")
	private Integer limitNumber;

	@ApiModelProperty(value = "剩余秒杀数量")
	private Integer remainNumber;
	
	@ApiModelProperty(value = "文案图片URL")
	private String picUrl;

}
